#include<stdio.h>
#include<math.h>
main()
{
int a,b,c,root1,root2;
printf("enter the equation in form of ax2+bx+c \n");
printf("enter a= ");
scanf("%d",&a);
printf("enter b= ");
scanf("%d",&a);
printf("enter c= ");
scanf("%d",&a);
root1=(-b+pow(b*b-4*a*c,1/2)/2*a);
root2=(-b-pow(b*b-4*a*c,1/2)/2*a);
printf("\n The root is %d    \n The root2 is %d\n",root1,root2);
}
